#ifndef PIECEPREVIEW_H_
#define PIECEPREVIEW_H_

#include "BackgroundColor.h"
#include "Block.h"

class PiecePreview : public BackgroundColor
{
public:
    PiecePreview();
    virtual ~PiecePreview();
    void addBlock(Block* block);
    void clear();
    virtual void handleEvent(const Event& event);
    void handlePreviewUpdate(const Position positions[], Color color);

};

#endif
